Creating a Conditional Starting Rule

A conditional starting rule specifies what conditions must be met for a workflow to run. You can also assign condition starting rules to business processes.

Note: A workflow must be published before you can assign it a starting rule, and a workflow must have an enabled starting rule or be invoked by another workflow to be operational.

ClosedSee a video about creating a condition starting rule.

To create a conditional starting rule

  1. You can create starting rules in the Rule Wizard, which you can access from the following locations:
  2. In the Closedopening screen of the Rule Wizard, name your rule and optionally add a description.

  3. Select Condition next to Rule type.
  4. Select the Enabled checkbox next to Rule status if you want your starting rule to be applied immediately. Clear the Enabled checkbox to enable the starting rule manually at a later point.
  5. Click Next.
  6. In the ClosedStarting Condition Properties dialog box, configure your starting rule's conditions.
    1. Use the Event Type drop-down menu to select what type of action will start the workflow.
    2. Optional: By default, the entry that satisfies the starting rule will become the starting entry used throughout the workflow. You can select Run workflow on at the bottom of the condition editor to run the workflow on a different entry than the one that satisfies the starting condition. Depending on what event type you chose, this option will allow you to run the workflow on the original entry's current folder, the original entry's original folder (if the event is Entry Moved), the original entry (if the event is Entry Copied), or the copied entry's current folder (if the event is Entry Copied). ClosedShow me an example.
    1. When defining starting rule conditions that specify metadata, folder paths, or users, you must specify a connection profile. Use the Closeddrop-down menu next to Get metadata from to select the condition profile that contains the templates, fields, and tags that you want to use to configure your starting rule.
    2. Tip: Workflow will run on any monitored repository in which the starting rule is satisfied. To specify which repository this starting rule should apply to, click the green Entry link, choose Repository, and specify a repository name.

    3. Configure one or more conditions. Click any underlined text in the condition editor to choose from a variety of condition options. You can create as many conditions as you want by clicking Add condition. Right-click a condition for more options. Learn more about configuring conditions.
  7. When you are done configuring your starting rule, click Publish. You will see a notification as to whether the publication succeeded.
  8. Note: The Publish button will be disabled if your starting rule has invalid conditions. Invalid conditions have a red circle with a white exclamation mark next to them. Click this icon to see a description of why your condition is invalid.

  9. Click Finish. If you enabled your starting rule, your starting rule will be active in 30 seconds.